home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue39 / slimmer / Unit1.pas < prev   
Encoding:
Pascal/Delphi Source File  |  1998-09-10  |  450 b   |  33 lines

  1. unit Unit1;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
  7.  
  8. type
  9.   TForm1 = class(TForm)
  10.     procedure FormCreate(Sender: TObject);
  11.   private
  12.     { Private declarations }
  13.   public
  14.     { Public declarations }
  15.   end;
  16.  
  17. var
  18.   Form1: TForm1;
  19.  
  20. implementation
  21.  
  22. {$R *.DFM}
  23.  
  24. uses
  25.   TrimMem;
  26.  
  27. procedure TForm1.FormCreate(Sender: TObject);
  28. begin
  29.   TrimMem.TrimWorkingSet;
  30. end;
  31.  
  32. end.
  33.